/*设置整体页面高度*/
html,body {
    height: 100%;
    background-image: url(log02.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/*上方导航栏*/
.nav {
    width: 100%;
    height: 50px;
    background-color: lightpink;
    color: aliceblue;
    display: flex;
    justify-content: left;
    align-items: center;
}
/*导航栏中的图标*/
.nav img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: 30px;
    margin-right: 10px;
}
/*导航栏中的占位器*/
.nav .spacer {
    width: 70%;
}
/*导航栏中的选择按钮*/
.nav a {
    color: aliceblue;
    text-decoration: none;
    padding: 0 10px;
}
/*版心*/
.container {
    /*使用calc计算高度*/
    height: calc(100%-50px);
    /*设置版心宽度*/
    width: 1000px;
    /*水平居中*/
    margin: 0 auto;
    /*使用弹性布局*/
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/*左侧 用来放置用户信息*/
.container_left {
    height: 100%;
    width: 200px;
}
/*右侧 用来编写博客*/
.container_right {
    height: 100%;
    /*和右侧隔开5px的距离*/
    width: 795px;
    /*如果内容溢出就自动加上滚动条*/
    overflow: auto;
    background-color: whitesmoke;
    border-radius: 5%;
}
/*展示用户信息的卡片*/
.cord {
    background-color: whitesmoke;
    border-radius: 10px;
    padding: 40px;
}
/*用户头像*/
.cord img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
}
/*用户名*/
.cord h3 {
    text-align: center;
    padding: 10px;
}
/*用户github链接*/
.cord a {
    text-decoration: none;
    color:lightpink;
    display: block;
    text-align: center;
    padding: 10px;
}
/*展示文章数目的面板*/
.cord .counter {
    padding: 5px;
    display: flex;
    justify-content: space-around;
}